import './assets/main.css';

import { createApp } from 'vue';
import { createPinia } from 'pinia';
import GlobalDirectives from "@/directives";

import App from './App.vue';
import router from './router';
import Icon from 'vue-devui/icon';
import Button from 'vue-devui/button';
// import Form from 'vue-devui/form';
// import Input from 'vue-devui/input';
// import Popover from 'vue-devui/popover';
// import DevUI from 'vue-devui';

import 'vue-devui/style.css';
import '@devui-design/icons/icomoon/devui-icon.css';
import { ThemeServiceInit, infinityTheme } from 'devui-theme';

ThemeServiceInit({ infinityTheme }, 'infinityTheme');

const app = createApp(App)

app.use(Icon)
app.use(Button)
// app.use(Form)
// app.use(Input)
// app.use(Popover)
// app.use(DevUI)
app.use(GlobalDirectives);
app.use(createPinia())
app.use(router)

app.mount('#app')
